#ifndef __ARTIST_ERROR_H__
#define __ARTIST_ERROR_H__

/*-------------0-9999 is for the common error.------------*/
#define ARTIST_ERROR_OK                 (0)
#define ARTIST_ERROR_UNKNOWN            (1)
#define ARTIST_ERROR_FAIL               (1)
#define ARTIST_ERROR_INVALIDPARAMETER   (2)

#define ARTIST_ERROR_IPCDESTINATIONNOTEXIST (3)
#define ARTIST_ERROR_SIGNALILLEGALUPWARD    (4)
#define ARTIST_ERROR_SIGNALDESTINATIONNOTREADY (5)
#define ARTIST_ERROR_SIGNALUNKOWNREALSIGNAL     (6)
#define ARTIST_ERROR_MESSAGEBUFFEREMPTY         (7)
#define ARTIST_ERROR_MESSAGEMECHANISMERROR      (8)
#define ARTIST_ERROR_MESSAGEINTERRUPTFAILURE    (9)
#define ARTIST_ERROR_PROCESSMECHANISMERROR      (10)
#define ARTIST_ERROR_PROCESSNOTEXIST    (11)
#define ARTIST_ERROR_NOTSUPPORTED       (12)
#define ARTIST_ERROR_SIGNALBUFFEREMPTY      (13)
#define ARTIST_ERROR_SIGNALNOTFOUND         (14)
#define ARTIST_ERROR_INVALIDREALTIMESIGNAL      (15)
#define ARTIST_ERROR_SIGNALBUFFERFULL          (16)
/*-------------10000-19999 is for the driver level----------*/
#define ARTIST_ERROR_PAGENOTENOUGH      (10000)
/*-------------20000-29999 is for the server level----------*/
/*-------------30000-39999 is for the affair  level----------*/
/*-------------40000-49999 is for the interface level--------*/
#endif
